@charset "UTF-8";

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    background-color: #F0F0F0;
    /*-webkit-tap-highlight-color: transparent;*/
}

.ub {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -o-box;
    display: box;
    position: relative;
}

.ub-ver {
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-flex-direction: column;
    -o-box-orient: vertical;
    box-orient: vertical;
}

.ub-ac {
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -o-box-align: center;
    box-align: center;
}

.ub-ae {
    -webkit-box-align: end;
    -moz-box-align: end;
    -ms-flex-align: end;
    -o-box-align: end;
    box-align: end;
}

.ub-pc {
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -o-box-pack: center;
    box-pack: center;
}

.ub-pe {
    -webkit-box-pack: end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    -o-box-pack: end;
    box-pack: end;
}

.ub-f {
    position: relative;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    -o-box-flex: 1;
    box-flex: 1;
}

.uf {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
}

.uf-ver {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.uf-ac {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.uf-ae {
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.uf-pc {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.uf-pe {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.uf-pj {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.uf-pja {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-around;
    -ms-flex-pack: justify;
    justify-content: space-around;
}

.uf-f {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative;
}

.conScrollY {
    overflow-y: auto;
    overflow-x: hidden;
}

/*/!*定义滚动条宽*!/*/
/*.conScrollY::-webkit-scrollbar {*/
/*width: 8px;*/
/*}*/

/*/!*定义滚动条的轨道*!/*/
/*.conScrollY::-webkit-scrollbar-track {*/
/*background-color: #ffffff;*/
/*-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);*/
/*}*/

/*/!*定义滚动条的滑块*!/*/
/*.conScrollY::-webkit-scrollbar-thumb {*/
/*background-color: #303942;*/
/*}*/

#header {
    height: 3rem;
    line-height: 3rem;
    -webkit-box-shadow: 0 1px 2px #ccc;
    -moz-box-shadow: 0 1px 2px #ccc;
    box-shadow: 0 1px 2px #ccc;
    overflow: hidden;
    border-bottom: 1px solid #F0F0F0;
}

#header .center {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}

#header .center .navLeft, #header .center .navRight, #header .center .navLeftNoIcon {
    width: 4rem;
}

#header .center .navLeft {
    background: url("../img/icon-backB.png") no-repeat 1.25rem;
    -webkit-background-size: .8rem;
    background-size: .8rem;
}

#header .center #title {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    /*color: #b20000;*/
}

#header span {
    color: #A9A9A9;
    font-size: .725rem;
    margin-left: .6rem;
}

#header span.in:after {
    color: #52D38A;
    content: '在线';
}

#header span.out:after {
    color: #FF0000;
    content: '离线';
}

.Btn {
    cursor: pointer;
}

.model {
    margin: .6rem 0;
}

.model:last-child {
    margin-bottom: 0;
}

.chatLine {
    height: 5rem;
    padding-right: .4rem;
    text-decoration: none;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #F0F0F0;
}

.chatLine .Pic {
    border-radius: 50%;
    border: 1px solid #cccccc;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 .4rem;
    overflow: hidden;
}

.chatLine .Pic img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
}

.chatLine .ub-f {
    overflow: hidden;
    text-overflow: ellipsis;
}

.chatLine .chatInfo {
    color: #000000;
    font-size: .925rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-bottom: .8rem;
}

.chatLine .time {
    color: #aaaaaa;
    font-size: .725rem;
    white-space: nowrap;
    float: right;
}

.chatLine .span {
    font-size: .825rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #aaaaaa;
}

.chatLine .unRead {
    top: 2.55rem;
    right: .4rem;
    position: absolute;
    background-color: red;
    border-radius: 50%;
    color: #ffffff;
    font-size: .8rem;
    text-align: center;
    padding: .05rem .2rem;
    min-width: .6rem;
    height: .9rem;
    /*line-height: 1rem;*/
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
}

.chatTime {
    text-align: center;
    padding: .6rem 0;
}

.chatTime span {
    padding: .2rem .6rem;
    white-space: nowrap;
    font-size: .725rem;
    color: #ffffff;
    background-color: #d5d5d5;
    -webkit-border-radius: .3rem;
    border-radius: .3rem;
}

.chat {
    margin-top: .6rem;
    margin-bottom: .8rem;
}

.chat.chatLeft {
}

.chat.chatRight {
}

.speakTime {
    color: #cccccc;
    font-size: .875rem;
    white-space: nowrap;
    overflow: hidden;
}

.chat.chatLeft .speakTime {

}

.chat.chatRight .speakTime {
    text-align: right;
}

.chat .chatImg {
    width: 2.75rem;
    height: 2.75rem;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin: 0 .8rem;
    border: 1px solid #cccccc;
    overflow: hidden;
}

.chat .chatImg img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
}

.chat .chatTxt {
    -webkit-border-radius: .2rem;
    border-radius: .2rem;
    padding-top: .2rem;
}

.chat.chatLeft .chatTxt {
    /*margin-left: .6rem;*/
    margin-right: 1.5rem;

}

.chat.chatRight .chatTxt {
    margin-left: 1.5rem;
    /*margin-right: .6rem;*/
}

.chat .chatTxt span {
    display: inline-block;
    font-size: .925rem;
    -webkit-border-radius: .3rem;
    border-radius: .3rem;
    padding: .6rem;
    min-width: 1.2rem;
    min-height: 1.35rem;
    background-color: #ffffff;
    word-wrap: break-word;
    word-break: break-all;
}

/*聊天表情*/
.chat .chatTxt span img.emojijiji {
    width: 1.75rem;
    height: 1.75rem;
}

/*聊天图片*/
.chat .chatTxt span img.image {
    width: 100%;
    height: 100%;
}

.chat.chatRight .chatTxt span {
    background-color: #2485c2;
    color: #ffffff;
}

.chat .chatAngle {
    width: 0;
    height: 0;
    font-size: 0;
    position: absolute;
    top: .4rem;
    border: solid .8rem;

}

.chat.chatLeft .chatAngle {
    left: -1.35rem; /* 圆角的位置需要细心调试哦 */
    border-color: transparent #ffffff transparent transparent;
}

.chat.chatRight .chatAngle {
    right: -1.35rem; /* 圆角的位置需要细心调试哦 */
    border-color: transparent transparent transparent #2485c2;
}

#chatFooter {
    height: 3rem;
    padding-right: .6rem;
    background-color: #ffffff;
    /*border-top: 1px solid #cccccc;*/
    overflow: hidden;
    /*padding: .5rem 0 .6rem 0;*/
}

.chatFooter {
    width: 100%;
    height: 100%;
}

.chatFooter .inputArea {
    border-bottom: 1px solid #00CC66;
    height: 2rem;
    /*min-height: 1.5rem;*/
    /*max-height: 3.5rem;*/
    overflow-x: hidden;
    border-radius: .2rem;
    background-color: #ffffff;
    margin: 0 .4rem;
    padding: 0 .6rem;
}

.chatFooter .chatIcon {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    -webkit-background-size: 1.25rem;
    background-size: 1.25rem;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.chatFooter .chatIcon.emoSend {
    background-image: url("../img/chat-emo.png");
    margin-right: .5rem;
}

.chatFooter .chatIcon.emoSend:hover {
    background-image: url("../img/chat-emoHl.png");
}

.chatFooter .chatIcon.richSend {
    -webkit-background-size: 1.75rem;
    background-size: 1.75rem;
    background-image: url("../img/chat-pic.png");
    margin-right: .8rem;
}

.chatFooter .chatIcon.richSend:hover {
    /*background-image: url("../img/chat-picHl.png");*/
}

.chatFooter .chatIcon.textSend {
    padding: 0 .4rem;
    text-align: center;
    color: #ffffff;
    background-color: #00cc66;
    border-radius: .2rem;
}

.chatFooter .chatIcon.textSend:hover {
    opacity: .7;
}

.chatFooter .chatIcon.textSend:after {
    content: '发送';
}

/*下拉刷新组件样式*/
#pullDown {
    overflow: hidden;
    min-height: 100%;
}

.loading-warp {
    display: table;
    width: 100%;
    margin-top: -7rem;
    height: 7rem;
    overflow: hidden;
}

.loading-warp .box {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.loading-warp .box img {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 auto;
}

.loading-warp .box .text {
    display: block;
    text-align: center;
    font-size: 1rem;
    line-height: 1rem;
    opacity: 0.7;
    margin-top: 1.5rem;
}

/*加载更多*/
#loadingMore {
    display: none;
    font-size: .875rem;
    color: #cccccc;
    padding: .6rem;
}

#loadingMore img {
    width: 1.35rem;
    height: 1.35rem;
}

#loadingMore span {
    margin-left: .4rem;
}
